package com.wanda.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wanda.model.ProjectModel;

public interface ProjectService {

	public void insertProject(ProjectModel model);//添加项目信息
	public int updateProject(ProjectModel model);//修改项目信息
	public int deleteProject(ProjectModel model);//删除项目信息
	public ProjectModel selectById(String id);//查询项目ID信息
	public List<ProjectModel> selectAll();//查询所有项目信息
	public List<ProjectModel> selectBySql(@Param("SearchSql")String SearchSql);//拼接查询
    public List<ProjectModel> selectAlll(String tel);
	public List<ProjectModel> selectBySql(@Param("startPage")int page,@Param("endPage")int rows,@Param("SearchSql")String SearchSql);//通过拼接sql实现动态查询

}
